<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <h:outputStylesheet library="css" name="index.css" />
        <title>SigOdonto - Sistema de Gestão Odontológica</title>
    </h:head>
    <h:body>
        <div id="estrutura">
            <div id="cabecalho">
                <h:graphicImage title="SigOdonto" id="logo" library="images" name="logo-login2.png"/>
                <br/>
                <h:graphicImage id="separador" library="images" name="separador-login.png"/>
                <br/>
                <p>
                    SISTEMA DE GESTÃO ODONTOLÓGICA
                </p>
            </div>
            <div id="conteudo">
                <div class="conteudo-titulo">Entrar no SigOdonto</div>
                <h:form>
                    <p:growl/>
                    <div class="conteudo-corpo">
                        <table>
                            <tr>
                                <td>
                                    <h:graphicImage library="images" name="icon-user.png"/>
                                </td>
                                <td>
                                    <h:inputText title="username" value="#{loginMB.username}" class="campos-texto"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <h:graphicImage library="images" name="icon-senha.png"/>
                                </td>
                                <td>
                                    <h:inputSecret title="senha" value="#{loginMB.senha}" class="campos-texto"/>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2"><label class="checkbox"><input type="checkbox" name='lembrar_login'/>Lembrar neste computador</label></td>
                            </tr>
                        </table>
                    </div>
                    <div class="conteudo-rodape">
                        <div class="esqueceu"><h:link outcome="admin/user-master/menuMaster.xhtml">Esqueceu a senha?</h:link></div>
                        <div class="caixa-botao">
                            <h:commandButton action="#{loginMB.login()}" value="Entrar" class="botao-submit" />
                        </div>
                    </div>
                </h:form>
            </div>
            <div id="rodape">
                Copyright © Todos os direitos reservados.
            </div>
        </div>
    </h:body>
</html>

